from PySide2.QtWidgets import QApplication
from PySide2.QtWidgets import QWidget
import sys

class MyChartWidget(QWidget):

    def __init__(self):
        super().__init__()

if __name__ == "__main__":
    app = QApplication()

    mcw = MyChartWidget()
    mcw.show()

    sys.exit(app.exec_())